package cn.bdqn.bean;

import java.sql.Timestamp;

/**
 * NewsCategory entity. @author MyEclipse Persistence Tools
 */

public class Category implements java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private Timestamp createDate;

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** minimal constructor */
	public Category(Long id) {
		this.id = id;
	}

	/** full constructor */
	public Category(Long id, String name, Timestamp createDate) {
		this.id = id;
		this.name = name;
		this.createDate = createDate;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

}